<?php

namespace App\Model;

use App\Model\Traits\Common;
use App\User;
use Illuminate\Database\Eloquent\Model;

class Topic extends Model
{
    //
    use Common;
    protected $fillable = [

        'title', 'column_id', 'content', 'file'
    ];




    //栏目模型关联
    public function column()
    {
        return $this->belongsTo(Column::class);
    }
}
